<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>RVM : Get The Source</title>
        <link rel="stylesheet" href="styles/site.css" type="text/css" />
        <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>

    <body>
        <div id="page">
            <div id="main">
                <div id="main-header" class="pageSectionHeader">
                    <h1 id="title-heading" class="pagetitle">
                                                <span id="title-text">
                            RVM : Get The Source
                        </span>
                    </h1>

                    <div class="page-metadata">
                        <p>This page last changed on Dec 10, 2011 by <font color="#0050B2">ebrangs</font>.</p>
                    </div>
                </div>

                <div id="content" class="view">
                    <div id="main-content" class="wiki-content group">
                    <p>The source code for the Jikes RVM is stored in a <a href="http://mercurial.selenic.com/" class="external-link" rel="nofollow">Mercurial</a> repository. You can browse the online mercurial repository at <a class="external-link" href="http://jikesrvm.hg.sourceforge.net/hgweb/jikesrvm/jikesrvm/" rel="nofollow">http://jikesrvm.hg.sourceforge.net/hgweb/jikesrvm/jikesrvm/</a>.</p>

<p>A developer can either work with the version control system or download one of the releases. If you are interested in doing development of Jikes RVM you should probably use Mercurial instead of downloading a release.</p>

<h2 id="GetTheSource-DownloadaRelease">Download a Release</h2>

<p>Major and minor releases of Jikes RVM occur at regular intervals. These releases are archived in the <a href="http://sourceforge.net/projects/jikesrvm/files/" class="external-link" rel="nofollow">file download</a> area in either tar-gzip (jikesrvm-&lt;version&gt;.tar.gz) or tar-bzip2 (jikesrvm-&lt;version&gt;.tar.bz2) format. Use your web browser to download the latest version of Jikes RVM then to extract the tar-gzip archive type:</p>

<div class="panel" style="border-width: 1px;"><div class="panelContent">
<p>$ tar xvzf jikesrvm-&lt;version&gt;.tar.gz</p>
</div></div>

<p>or for the tar-bzip2 archive type:</p>

<div class="panel" style="border-width: 1px;"><div class="panelContent">
<p>$ tar xvjf jikesrvm-&lt;version&gt;.tar.bz2</p>
</div></div>

<h2 id="GetTheSource-UseMercurial">Use Mercurial</h2>

<p>The source code for Jikes RVM is stored in a <a href="http://mercurial.selenic.com/" class="external-link" rel="nofollow">Mercurial</a> repository. Mercurial and other distributed revision control systems are quite different from centralized version control systems like CVS and Subversion. If you are not familiar with Mercurial, you can find instructions on Mercurial use at <a href="http://mercurial.selenic.com/guide/" class="external-link" rel="nofollow">http://mercurial.selenic.com/guide/</a>. There is also a <a href="http://hgbook.red-bean.com" class="external-link" rel="nofollow">Mercurial Book</a>. </p>

<p>After installing Mercurial the current version of source can be downloaded via:</p>
<div class="panel" style="border-width: 1px;"><div class="panelContent">
<p>$ hg clone <a href="http://jikesrvm.hg.sourceforge.net:8000/hgroot/jikesrvm/jikesrvm" class="external-link" rel="nofollow">http://jikesrvm.hg.sourceforge.net:8000/hgroot/jikesrvm/jikesrvm</a></p>
</div></div>

<p>This will clone the Jikes RVM repository into the newly created directory jikesrvm.</p>

<p>If you need a specific version, it is recommended to clone the complete repository nonetheless. You can then switch to a specific release, e.g. 2.4.6, by doing the following:</p>
<div class="panel" style="border-width: 1px;"><div class="panelContent">
<p>$ cd jikesrvm<br />
$ hg checkout 2.4.6</p>
</div></div>

<p>If you are a not core developer you will not be able to push changes to the main Jikes RVM repository directly. If you want to contribute to the Jikes RVM, please take a look at <a href="http://docs.codehaus.org/display/RVM/Contributions">this page</a>.</p>
                    </div>

                    
                 
                </div>             </div> 
            <div id="footer" style="background: url(http://docs.codehaus.org/images/border/border_bottom.gif) repeat-x;">
                <p><small>Document generated by Confluence on Feb 17, 2012 10:24</small></p>
            </div>
        </div>     </body>
</html>
